package com.ym521.simp;

import android.app.Application;

import com.google.gson.Gson;
import com.ym521.logdog.LogDog;

public class MyApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        Gson gson = new Gson();
        LogDog.install(this, obj -> gson.toJson(obj));
        LogDog.getBuilder()
                .logFilter(LogDog.ERROR);
    }
}
